luci-base: add missing css class btn to form.js
authorFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 06:21:16 +0000 (08:21 +0200)
committerFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 11:33:00 +0000 (13:33 +0200)
Signed-off-by: Florian Eckert <[email protected]>
modules/luci-base/htdocs/luci-static/resources/form.js

index 889f6edd8dcde833f66b5d83ff85c6452b8fb144..6b0e30d118b4679fa09357302e5da224eb92e832 100644 (file)
@@ -3220,11 +3220,11 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p
                                                nodes,
                                                E('div', { 'class': 'right' }, [
                                                        E('button', {
-                                                               'class': 'cbi-button',
+                                                               'class': 'btn cbi-button',
                                                                'click': ui.createHandlerFn(this, 'handleModalCancel', m)
                                                        }, [ _('Dismiss') ]), ' ',
                                                        E('button', {
-                                                               'class': 'cbi-button cbi-button-positive important',
+                                                               'class': 'btn cbi-button cbi-button-positive important',
                                                                'click': ui.createHandlerFn(this, 'handleModalSave', m),
                                                                'disabled': m.readonly || null
                                                        }, [ _('Save') ])